package com.anxinm.excetions;

public class SenoxContractException extends RuntimeException {
    private static final long serialVersionUID = 1L ;

    /**
     * 空构造方法，避免反序列化问题
     */
    public SenoxContractException()
    {
    }

    public SenoxContractException(String message)
    {
        this.message = message;
    }


    public SenoxContractException(String message, Integer code)
    {
        this.message = message;
        this.code = code;
    }

    /**
     * 错误码
     */
    private Integer code;

    /**
     * 错误提示
     */
    private String message;

}
